/*
	Theme Name: App
	Theme URI: https://woorise.com
	Description: Woorise app theme.
	Author: Woorise
	Author URI: https://woorise.com
	Version: 1.0.4
	License: GNU General Public License v2 or later
	License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

.admin-bar {
	margin-top: 54px !important;
}

::-webkit-input-placeholder,
::-moz-placeholder {
	font-family: var(--wp--preset--font-family--primary);
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition:    all 0.2s ease-in-out;
	-ms-transition:     all 0.2s ease-in-out;
	-o-transition:      all 0.2s ease-in-out;
	transition:         all 0.2s ease-in-out;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
	cursor: pointer;
}

a {
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 15px;
}

mark {
	background-color: inherit;
}

.wp-site-blocks,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
}

.wp-block-group.has-background {
	padding: 1.25rem;
}

.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
	margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	width: unset;
}

.smalltext {
  color: #999;
  font-size: 12px;
}

.hidden-content {
	left: -9999px;
	position: absolute;
	visibility: hidden;
}

/* Box Sizing
--------------------------------------------- */

html,
input[type="search"]{
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

/* Pre start
--------------------------------------------- */

.form-unavailable,
.pre-start,
.country-restriction {
	text-align: center;
	margin: 40px auto;
	padding: 5%;
	background: #f9f9f9;
	border-radius: 5px;
}

.form-unavailable i,
.pre-start i,
.country-restriction i {
	font-size: 100px;
	opacity: .1;
	margin-bottom: 30px;
}

/* Password protected
--------------------------------------------- */

.campaign-password-form {
	padding: 10% 5%;
}

.post-password-form label input {
	width: 100%;
	border-radius: 5px;
	border: 1px solid #d9d9d9;
	padding: 12px;
	box-sizing: border-box;
}

.post-password-form input[type="submit"] {
	width: 100%;
	margin-top: 20px;
	border: 2px solid rgb(44, 62, 80);
	border-radius: 5px;
	color: #fff;
	background-color: rgb(44, 62, 80);
	font-size: 16px;
	padding: 0.8em 1em;
	cursor: pointer;
}

.campaign-password-form .password-error {
	border: 1px solid red;
	padding: 12px 20px;
	border-radius: 5px;
	background: #ffe6e6;
	color: red;
}

/* Top bar
--------------------------------------------- */

.top-bar {
	background: #6D47D9;
	background: -webkit-linear-gradient(left, #F93D66, #6D47D9);
	background: linear-gradient(to right, #F93D66 , #6D47D9);
	text-align: center;
	color: #fff;
	padding: 10px;
	margin-left: calc(-100vw / 2 + 100% / 2);
	margin-right: calc(-100vw / 2 + 100% / 2);
	max-width: 100vw;
}

.top-bar p {
	margin: 0;
	font-size: 18px;
}

.top-bar span,
.top-bar a {
	background-color: #fff;
	color: #6D47D9;
	padding: 5px 20px;
	border-radius: 50px;
	margin: 0 10px;
	font-weight: 700;
	display: inline-block;
	font-size: 14px;
	vertical-align: top;
	text-transform: uppercase;
}

.top-bar i {
	top: 50%;
	position: absolute;
	right: 20px;
	transform: translateY(-50%);
	cursor: pointer;
	font-size: 20px;
	opacity: .6;
}

.top-bar i:hover {
	opacity: 1;
}

/* Bonus entries
--------------------------------------------- */

.bonus-entries {
	padding: 5%;
	background: #fff;
	text-align: center;
	box-shadow: 0 5px 20px rgba(46, 61, 77, 0.1);
	border-radius: 5px;
	margin: 20px auto;
	color: #333;
}

.bonus-entries p {
	font-size: 32px;
	margin: 0;
}

.bonus-entries small {
	color: #aaa;
}

/* Viral Share
--------------------------------------------- */

.viral-share {
	padding: 5%;
	background: #fff;
	text-align: center;
	box-shadow: 0 5px 20px rgba(46, 61, 77, 0.1);
	border-radius: 5px;
	margin-bottom: 20px;
}

.gform_confirmation_wrapper {
	margin-bottom: 40px;
}

.form .viral-share h3 {
	color: #333;
}

/*
.ref-link::before {
	content: "\f0c1";
	font-family: "Font Awesome 5 Free";
	font-weight: 700;
	margin-right: 20px;
}
*/

.ref-link {
	color: #999;
	border: 1px solid #e5e5e5;
	display: flex;
	padding: 10px 12px 10px 20px;
	border-radius: 30px;
	margin: 20px auto 0;
	font-size: 14px;
	justify-content: space-between;
	max-width: 400px;
}

.ref-link input {
	border: 0;
	padding: 0;
	font-size: 12px;
	color: #b1b7bc;
	width: 100%;
}

.copy-link {
	margin-left: 20px;
	padding: 0;
	width: 60px;
	height: 30px;
	border-radius: 30px;
	background-color: #b1b7bc;
	border: 0;
	color: #fff;
}

.copy-link:hover {
	background-color: #ff4a00;
}

.social-share ul {
	margin-bottom: 0;
	padding: 0;
}

.social-share ul li {
	list-style: none;
	display: inline-block;
	min-width: 60px;
	text-align: center;
	margin-right: 20px;
	margin-top: 20px;
}

.social-share ul li:last-child {
	margin-right: 0;
}

.social-share i {
	height: 40px;
	width: 100%;
	display: inline-block;
	border-radius: 30px;
	line-height: 40px;
	color: #fff;
}

.social-share .fa-facebook-f {
	background-color: #1977f2;
}

.social-share .fa-twitter {
	background-color: #3cf;
}

.social-share .fa-linkedin-in {
	background-color: #0077b5;
}

.social-share .fa-pinterest-p {
	background-color: #bd081c;
}

.social-share .fa-envelope {
	background-color: #08e19c;
}

.social-share .fa-facebook-messenger {
	background-color: #0084ff;
}

.social-share .fa-whatsapp {
	background-color: #25d366;
}

.social-share i:hover:before {
	line-height: 35px;
  text-shadow: 0 6px 6px rgba(0, 0, 0, 0.5);
	font-size: 20px;
}

.confirmation-icons {
	text-align: center;
	margin-bottom: 40px;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
}

/* Loader
--------------------------------------------- */

.loader {
	position: relative;
	visibility: hidden;
}

.loader::before {
	animation: .3s linear infinite spinner;
	animation-play-state: inherit;
	border: solid 3px rgba(255,255,255,0.5);
	border-bottom-color: rgba(0,0,0,0.2);
	border-radius: 50%;
	content: "";
	height: 30px;
	width: 30px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate3d(-50%, -50%, 0);
	will-change: transform;
	visibility: visible;
}

@keyframes spinner {
	0% {
		transform: translate3d(-50%, -50%, 0) rotate(0deg);
	}
	100% {
		transform: translate3d(-50%, -50%, 0) rotate(360deg);
	}
}

/* Popup
--------------------------------------------- */

.popup {
	display: flex;
	position: absolute;
	z-index: 99999;
	left: -9999px;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	align-items: center;
	justify-content: center;
  flex-direction: column;
	visibility: hidden;
}

.popup-active {
	left: 0;
	position: fixed;
	visibility: visible;
}

.popup-active .popup-content {
	animation-name: fadeInBottom;
	-webkit-animation-name: fadeInBottom;
	-webkit-animation-duration: 0.5s;
	animation-duration: 0.5s;
}

.popup .close {
	background: transparent;
	border: none;
	float: right;
	cursor: pointer;
	padding: 15px 20px;
	line-height: normal;
}

.popup .close-icon {
	fill: rgba(0,0,0,0.2);
}

.popup .close-icon:hover,
.popup .close-icon:focus {
  fill: #000;
}

.popup-content {
	position: relative;
	background-color: #fefefe;
	box-shadow: 0 5px 30px 0 rgba(0,0,0,0.2);
	max-width: 820px;
	max-height: 90%;
	border-radius: 5px;
	width: 90%;
	overflow-y: initial;
}

.popup-body {
	overflow-y: auto;
	-webkit-overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	max-height: 80vh;
	padding: 0 5% 5%;
	margin: 0;
}

/* Email login
--------------------------------------------- */

.form-button {
	text-align: center;
}

.form-button a {
	color: inherit;
	opacity: .6;
	background: transparent;
	border: none;
}

.form-button a:hover {
	opacity: 1;
}

#logout-btn::before {
	content: "\f104";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	padding-right: 10px;
}

#email-login .button {
	width: 100%;
}

.float-notice {
	padding: 20px;
	border-radius: 5px;
	max-width: 600px;
	text-align: center;
	color: #fff;
	font-size: 18px;
	position: absolute;
	top: 80px;
	left: 50%;
	transform: translate(-50%, 0);
	box-shadow: 0 5px 30px 0px rgba(44, 62, 80, 0.1);
	z-index: 100;
}

.email-login-error {
	background: rgba(255, 204, 0, .9);
}

.email_verification_notice,
.email-verified {
	background: rgba(0, 196, 49, .9);
}

.float-notice p {
	margin-bottom: 0;
}

.donotcomplete {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	height: 0;
	width: 0;
	z-index: -1;
}

.float-notice {
	-moz-animation: cssAnimation 0s ease-in 5s forwards;
	-webkit-animation: cssAnimation 0s ease-in 5s forwards;
	-o-animation: cssAnimation 0s ease-in 5s forwards;
	animation: cssAnimation 0s ease-in 5s forwards;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
}
@keyframes cssAnimation {
  to {
		padding: 0;
    width:0;
    height:0;
    overflow:hidden;
  }
}
@-webkit-keyframes cssAnimation {
  to {
		padding: 0;
    width:0;
    height:0;
    visibility:hidden;
  }
}

/* Activation page
--------------------------------------------- */

.wp-activate-container {
	padding: 40px;
	margin: 5% auto;
	box-shadow: 0 5px 50px 0px rgba(44, 62, 80, 0.1);
	border-radius: 5px;
	max-width: 820px;
}

/* Cover block
--------------------------------------------- */

.wp-block-cover-image .wp-block-cover__inner-container .has-background .form,
.wp-block-cover .wp-block-cover__inner-container .has-background .form {
	color: #000;
}

/* Animation
--------------------------------------------- */

.fadeInBottom {
	animation-duration: 1s;
	animation-fill-mode: both;
	animation-name: fadeInBottom;
}

@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to { opacity: 1 }
}
